package api

import request "gitee.com/changeden/volcengine-livesaas-request-go"

type UpdatePresenterNameRequest struct {
	ActivityId    *int64  `json:"ActivityId"`
	PresenterName *string `json:"PresenterName"`
}
type UpdatePresenterNameResponse struct {
	Status bool `json:"Status"`
}

func (instance *Instance) UpdatePresenterName(data *UpdatePresenterNameRequest) (*UpdatePresenterNameResponse, error) {
	d := request.Data{
		Action: "UpdatePresenterNameAPI",
	}
	bindBody(&d, *data)
	var res UpdatePresenterNameResponse
	err := instance.post(&d, &res)
	return &res, err
}
